package com.course02.order_backend.entity.LXY;
import java.time.LocalDateTime;

/**
 * 角色实体类（对应 tb_role 表）
 * @author wozhe
 */
public class Role {
    private Long id;
    // 对应 role_code (如 ROLE_ADMIN)
    private String roleCode;
    // 对应 role_name
    private String roleName;
    // 备注
    private String remark;
    // 创建人ID
    private Long createUser;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;

    // ========== Getter 和 Setter ==========

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
}
